package com.lancoo.examview.test.entity.testEntity;

/**
 * Created by pengmi on 2017/10/23.
 */

public class ApiResponse<T> {
    //接口返回的有用数据
    private T Data;
    //请求状态码 1--成功有数据  2--成功无数据 其他值--访问异常
    private int Status;
    //请求状态描述
    private String StatusDescription;

    private String ContentType;

    private String DataAttributes;




    public T getData() {
        return Data;
    }

    public void setData(T data) {
        Data = data;
    }

    public int getStatus() {
        return Status;
    }

    public void setStatus(int status) {
        Status = status;
    }

    public String getStatusDescription() {
        return StatusDescription;
    }

    public void setStatusDescription(String statusDescription) {
        StatusDescription = statusDescription;
    }

    public String getContentType() {
        return ContentType;
    }

    public void setContentType(String contentType) {
        ContentType = contentType;
    }

    public String getDataAttributes() {
        return DataAttributes;
    }



}
